package com.jiulan.hearthearing.ui.home.model;

import com.google.gson.annotations.SerializedName;
import com.jiulan.hearthearing.base.BaseModel;
import com.stx.xhb.xbanner.entity.SimpleBannerInfo;

import java.util.List;

public class HomeModel extends BaseModel {

    /**
     * data : {"banner":[{"id":178,"pic":"https://crmebceshi.oss-cn-beijing.aliyuncs.com/151ee202004140944191835.png","title":"1","android_url":"#","IOS_url":"#","link_type":"0"},{"id":179,"pic":"https://crmebceshi.oss-cn-beijing.aliyuncs.com/151ee202004140944191835.png","title":"2","android_url":"#","IOS_url":"#","link_type":"0"}],"menus":[{"id":180,"name":"心译通","pic":"https://crmebceshi.oss-cn-beijing.aliyuncs.com/5ae30202004140944227855.png","android_url":"#","IOS_url":"#"},{"id":181,"name":"商学院","pic":"https://crmebceshi.oss-cn-beijing.aliyuncs.com/5ae30202004140944227855.png","android_url":"#","IOS_url":"#"},{"id":182,"name":"私塾院","pic":"https://crmebceshi.oss-cn-beijing.aliyuncs.com/32c23202004140944218613.png","android_url":"#","IOS_url":"#"},{"id":183,"name":"e世界","pic":"https://crmebceshi.oss-cn-beijing.aliyuncs.com/c53db202004140944224302.png","android_url":"#","IOS_url":"#"},{"id":184,"name":"音乐吧","pic":"https://crmebceshi.oss-cn-beijing.aliyuncs.com/214ba202004140944184835.png","android_url":"#","IOS_url":"#"}],"guoyi":[{"id":197,"pic":"https://crmebceshi.oss-cn-beijing.aliyuncs.com/c95ae202004140944185096.png","name":"左图","android_url":"#","IOS_url":"#","link_type":"0"},{"id":198,"pic":"https://crmebceshi.oss-cn-beijing.aliyuncs.com/a4441202004140944191123.png","name":"右图1","android_url":"#","IOS_url":"#","link_type":"0"},{"id":199,"pic":"https://crmebceshi.oss-cn-beijing.aliyuncs.com/2b07b202004140944194377.png","name":"右图2","android_url":"#","IOS_url":"#","link_type":"0"}],"best_class":[{"id":33,"image":"http://crmebceshi.oss-cn-beijing.aliyuncs.com/home/%E5%90%8D%E5%B8%88%20%E7%B2%BE%E9%80%89%E8%AF%BE%E7%A8%8B%402x.png","title":"名师精录播选课程","price":"500.00","del_price":"800.00","sort":0,"type":0,"lecturer_id":1,"short_title":"叫你如何入门心理学","view":0,"reply_num":0,"add_time":"2020-04-10 14:04:45","share_num":0,"buy_num":0,"lecturer":{"id":1,"name":"王春雨","title":"国家二级心理咨询师","pic":"http://crmebceshi.oss-cn-beijing.aliyuncs.com/home/%E5%9B%BE%E5%B1%82%206.png","status":1}},{"id":32,"image":"http://crmebceshi.oss-cn-beijing.aliyuncs.com/home/%E5%90%8D%E5%B8%88%20%E7%B2%BE%E9%80%89%E8%AF%BE%E7%A8%8B%402x.png","title":"名师精录播选课程","price":"500.00","del_price":"800.00","sort":0,"type":0,"lecturer_id":1,"short_title":"叫你如何入门心理学","view":0,"reply_num":0,"add_time":"2020-04-10 14:04:45","share_num":0,"buy_num":0,"lecturer":{"id":1,"name":"王春雨","title":"国家二级心理咨询师","pic":"http://crmebceshi.oss-cn-beijing.aliyuncs.com/home/%E5%9B%BE%E5%B1%82%206.png","status":1}},{"id":31,"image":"http://crmebceshi.oss-cn-beijing.aliyuncs.com/home/%E5%90%8D%E5%B8%88%20%E7%B2%BE%E9%80%89%E8%AF%BE%E7%A8%8B%402x.png","title":"名师精录播选课程","price":"500.00","del_price":"800.00","sort":0,"type":0,"lecturer_id":1,"short_title":"叫你如何入门心理学","view":0,"reply_num":0,"add_time":"2020-04-10 14:04:45","share_num":0,"buy_num":0,"lecturer":{"id":1,"name":"王春雨","title":"国家二级心理咨询师","pic":"http://crmebceshi.oss-cn-beijing.aliyuncs.com/home/%E5%9B%BE%E5%B1%82%206.png","status":1}},{"id":30,"image":"http://crmebceshi.oss-cn-beijing.aliyuncs.com/home/%E5%90%8D%E5%B8%88%20%E7%B2%BE%E9%80%89%E8%AF%BE%E7%A8%8B%402x.png","title":"名师精录播选课程","price":"500.00","del_price":"800.00","sort":0,"type":0,"lecturer_id":1,"short_title":"叫你如何入门心理学","view":0,"reply_num":0,"add_time":"2020-04-10 14:04:45","share_num":0,"buy_num":0,"lecturer":{"id":1,"name":"王春雨","title":"国家二级心理咨询师","pic":"http://crmebceshi.oss-cn-beijing.aliyuncs.com/home/%E5%9B%BE%E5%B1%82%206.png","status":1}}],"best_class_news":[{"id":57,"image":"http://crmebceshi.oss-cn-beijing.aliyuncs.com/home/%E7%BB%84%203(1).png","title":"名师精选文章推荐","price":"100.00","del_price":"200.00","sort":0,"type":3,"lecturer_id":1,"short_title":"叫你如何入门心理学","view":0,"reply_num":0,"add_time":"2020-04-10 14:04:45","share_num":0,"buy_num":0,"lecturer":{"id":1,"name":"王春雨","title":"国家二级心理咨询师","pic":"http://crmebceshi.oss-cn-beijing.aliyuncs.com/home/%E5%9B%BE%E5%B1%82%206.png","status":1}},{"id":56,"image":"http://crmebceshi.oss-cn-beijing.aliyuncs.com/home/%E7%BB%84%203(1).png","title":"名师精选文章推荐","price":"100.00","del_price":"200.00","sort":0,"type":3,"lecturer_id":1,"short_title":"叫你如何入门心理学","view":0,"reply_num":0,"add_time":"2020-04-10 14:04:45","share_num":0,"buy_num":0,"lecturer":{"id":1,"name":"王春雨","title":"国家二级心理咨询师","pic":"http://crmebceshi.oss-cn-beijing.aliyuncs.com/home/%E5%9B%BE%E5%B1%82%206.png","status":1}}],"news":[{"id":18,"cid":"1","title":"职场心理学\u2014不要\u201c被标签\u201d影响了自我","image":"http://crmebceshi.oss-cn-beijing.aliyuncs.com/home/%E5%9B%BE%E5%B1%82%2011.png","synopsis":"这种现象是由于贴上标签后引起的 故称为\u201c标签...","view":0,"sort":0,"status":1,"add_time":"2020-04-09 15:47:20","is_hot":0,"reply":0,"share_num":0},{"id":17,"cid":"1","title":"职场心理学\u2014不要\u201c被标签\u201d影响了自我","image":"http://crmebceshi.oss-cn-beijing.aliyuncs.com/home/%E5%9B%BE%E5%B1%82%2011.png","synopsis":"这种现象是由于贴上标签后引起的 故称为\u201c标签...","view":1,"sort":3,"status":1,"add_time":"2020-04-09 15:47:20","is_hot":0,"reply":2,"share_num":0},{"id":16,"cid":"1","title":"职场心理学\u2014不要\u201c被标签\u201d影响了自我","image":"http://crmebceshi.oss-cn-beijing.aliyuncs.com/home/%E5%9B%BE%E5%B1%82%2011.png","synopsis":"这种现象是由于贴上标签后引起的 故称为\u201c标签...","view":0,"sort":0,"status":1,"add_time":"2020-04-09 15:47:20","is_hot":0,"reply":0,"share_num":0},{"id":15,"cid":"1","title":"职场心理学\u2014不要\u201c被标签\u201d影响了自我","image":"http://crmebceshi.oss-cn-beijing.aliyuncs.com/home/%E5%9B%BE%E5%B1%82%2011.png","synopsis":"这种现象是由于贴上标签后引起的 故称为\u201c标签...","view":2,"sort":0,"status":1,"add_time":"2020-04-09 15:47:20","is_hot":1,"reply":0,"share_num":0},{"id":14,"cid":"1","title":"职场心理学\u2014不要\u201c被标签\u201d影响了自我","image":"http://crmebceshi.oss-cn-beijing.aliyuncs.com/home/%E5%9B%BE%E5%B1%82%2011.png","synopsis":"这种现象是由于贴上标签后引起的 故称为\u201c标签...","view":0,"sort":0,"status":1,"add_time":"2020-04-01 13:24:39","is_hot":1,"reply":0,"share_num":0}]}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<BannerBean> banner;
        private List<MenusBean> menus;
        private List<GuoyiBean> guoyi;
        private List<BestClassBean> best_class;
        private List<BestClassNewsBean> best_class_news;
        private List<NewsBean> news;

        public List<BannerBean> getBanner() {
            return banner;
        }

        public void setBanner(List<BannerBean> banner) {
            this.banner = banner;
        }

        public List<MenusBean> getMenus() {
            return menus;
        }

        public void setMenus(List<MenusBean> menus) {
            this.menus = menus;
        }

        public List<GuoyiBean> getGuoyi() {
            return guoyi;
        }

        public void setGuoyi(List<GuoyiBean> guoyi) {
            this.guoyi = guoyi;
        }

        public List<BestClassBean> getBest_class() {
            return best_class;
        }

        public void setBest_class(List<BestClassBean> best_class) {
            this.best_class = best_class;
        }

        public List<BestClassNewsBean> getBest_class_news() {
            return best_class_news;
        }

        public void setBest_class_news(List<BestClassNewsBean> best_class_news) {
            this.best_class_news = best_class_news;
        }

        public List<NewsBean> getNews() {
            return news;
        }

        public void setNews(List<NewsBean> news) {
            this.news = news;
        }

        public static class BannerBean extends SimpleBannerInfo {
            /**
             * id : 178
             * pic : https://crmebceshi.oss-cn-beijing.aliyuncs.com/151ee202004140944191835.png
             * title : 1
             * android_url : #
             * IOS_url : #
             * link_type : 0
             */

            private int id;
            private String pic;
            private String title;
            private String android_url;
            private String IOS_url;
            private String link_type;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getAndroid_url() {
                return android_url;
            }

            public void setAndroid_url(String android_url) {
                this.android_url = android_url;
            }

            public String getIOS_url() {
                return IOS_url;
            }

            public void setIOS_url(String IOS_url) {
                this.IOS_url = IOS_url;
            }

            public String getLink_type() {
                return link_type;
            }

            public void setLink_type(String link_type) {
                this.link_type = link_type;
            }

            @Override
            public Object getXBannerUrl() {
                return getPic();
            }
        }

        public static class MenusBean {
            /**
             * id : 180
             * name : 心译通
             * pic : https://crmebceshi.oss-cn-beijing.aliyuncs.com/5ae30202004140944227855.png
             * android_url : #
             * IOS_url : #
             */

            private int id;
            private String name;
            private String pic;
            private String android_url;
            private String IOS_url;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }

            public String getAndroid_url() {
                return android_url;
            }

            public void setAndroid_url(String android_url) {
                this.android_url = android_url;
            }

            public String getIOS_url() {
                return IOS_url;
            }

            public void setIOS_url(String IOS_url) {
                this.IOS_url = IOS_url;
            }
        }

        public static class GuoyiBean {
            /**
             * id : 197
             * pic : https://crmebceshi.oss-cn-beijing.aliyuncs.com/c95ae202004140944185096.png
             * name : 左图
             * android_url : #
             * IOS_url : #
             * link_type : 0
             */

            private int id;
            private String pic;
            private String name;
            private String android_url;
            private String IOS_url;
            private String link_type;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getAndroid_url() {
                return android_url;
            }

            public void setAndroid_url(String android_url) {
                this.android_url = android_url;
            }

            public String getIOS_url() {
                return IOS_url;
            }

            public void setIOS_url(String IOS_url) {
                this.IOS_url = IOS_url;
            }

            public String getLink_type() {
                return link_type;
            }

            public void setLink_type(String link_type) {
                this.link_type = link_type;
            }
        }

        public static class BestClassBean {
            /**
             * id : 33
             * image : http://crmebceshi.oss-cn-beijing.aliyuncs.com/home/%E5%90%8D%E5%B8%88%20%E7%B2%BE%E9%80%89%E8%AF%BE%E7%A8%8B%402x.png
             * title : 名师精录播选课程
             * price : 500.00
             * del_price : 800.00
             * sort : 0
             * type : 0
             * lecturer_id : 1
             * short_title : 叫你如何入门心理学
             * view : 0
             * reply_num : 0
             * add_time : 2020-04-10 14:04:45
             * share_num : 0
             * buy_num : 0
             * lecturer : {"id":1,"name":"王春雨","title":"国家二级心理咨询师","pic":"http://crmebceshi.oss-cn-beijing.aliyuncs.com/home/%E5%9B%BE%E5%B1%82%206.png","status":1}
             */

            private int id;
            private String image;
            private String title;
            private String price;
            private String del_price;
            private int sort;
            private int type;
            private int lecturer_id;
            private String short_title;
            private int view;
            private int reply_num;
            private String add_time;
            private int share_num;
            private int buy_num;
            private LecturerBean lecturer;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getDel_price() {
                return del_price;
            }

            public void setDel_price(String del_price) {
                this.del_price = del_price;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public int getLecturer_id() {
                return lecturer_id;
            }

            public void setLecturer_id(int lecturer_id) {
                this.lecturer_id = lecturer_id;
            }

            public String getShort_title() {
                return short_title;
            }

            public void setShort_title(String short_title) {
                this.short_title = short_title;
            }

            public int getView() {
                return view;
            }

            public void setView(int view) {
                this.view = view;
            }

            public int getReply_num() {
                return reply_num;
            }

            public void setReply_num(int reply_num) {
                this.reply_num = reply_num;
            }

            public String getAdd_time() {
                return add_time;
            }

            public void setAdd_time(String add_time) {
                this.add_time = add_time;
            }

            public int getShare_num() {
                return share_num;
            }

            public void setShare_num(int share_num) {
                this.share_num = share_num;
            }

            public int getBuy_num() {
                return buy_num;
            }

            public void setBuy_num(int buy_num) {
                this.buy_num = buy_num;
            }

            public LecturerBean getLecturer() {
                return lecturer;
            }

            public void setLecturer(LecturerBean lecturer) {
                this.lecturer = lecturer;
            }

            public static class LecturerBean {
                /**
                 * id : 1
                 * name : 王春雨
                 * title : 国家二级心理咨询师
                 * pic : http://crmebceshi.oss-cn-beijing.aliyuncs.com/home/%E5%9B%BE%E5%B1%82%206.png
                 * status : 1
                 */

                private int id;
                private String name;
                private String title;
                private String pic;
                @SerializedName("status")
                private int statusX;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public String getPic() {
                    return pic;
                }

                public void setPic(String pic) {
                    this.pic = pic;
                }

                public int getStatusX() {
                    return statusX;
                }

                public void setStatusX(int statusX) {
                    this.statusX = statusX;
                }
            }
        }

        public static class BestClassNewsBean {
            /**
             * id : 57
             * image : http://crmebceshi.oss-cn-beijing.aliyuncs.com/home/%E7%BB%84%203(1).png
             * title : 名师精选文章推荐
             * price : 100.00
             * del_price : 200.00
             * sort : 0
             * type : 3
             * lecturer_id : 1
             * short_title : 叫你如何入门心理学
             * view : 0
             * reply_num : 0
             * add_time : 2020-04-10 14:04:45
             * share_num : 0
             * buy_num : 0
             * lecturer : {"id":1,"name":"王春雨","title":"国家二级心理咨询师","pic":"http://crmebceshi.oss-cn-beijing.aliyuncs.com/home/%E5%9B%BE%E5%B1%82%206.png","status":1}
             */

            private int id;
            private String image;
            private String title;
            private String price;
            private String del_price;
            private int sort;
            private int type;
            private int lecturer_id;
            private String short_title;
            private int view;
            private int reply_num;
            private String add_time;
            private int share_num;
            private int buy_num;
            private LecturerBeanX lecturer;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getDel_price() {
                return del_price;
            }

            public void setDel_price(String del_price) {
                this.del_price = del_price;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public int getLecturer_id() {
                return lecturer_id;
            }

            public void setLecturer_id(int lecturer_id) {
                this.lecturer_id = lecturer_id;
            }

            public String getShort_title() {
                return short_title;
            }

            public void setShort_title(String short_title) {
                this.short_title = short_title;
            }

            public int getView() {
                return view;
            }

            public void setView(int view) {
                this.view = view;
            }

            public int getReply_num() {
                return reply_num;
            }

            public void setReply_num(int reply_num) {
                this.reply_num = reply_num;
            }

            public String getAdd_time() {
                return add_time;
            }

            public void setAdd_time(String add_time) {
                this.add_time = add_time;
            }

            public int getShare_num() {
                return share_num;
            }

            public void setShare_num(int share_num) {
                this.share_num = share_num;
            }

            public int getBuy_num() {
                return buy_num;
            }

            public void setBuy_num(int buy_num) {
                this.buy_num = buy_num;
            }

            public LecturerBeanX getLecturer() {
                return lecturer;
            }

            public void setLecturer(LecturerBeanX lecturer) {
                this.lecturer = lecturer;
            }

            public static class LecturerBeanX {
                /**
                 * id : 1
                 * name : 王春雨
                 * title : 国家二级心理咨询师
                 * pic : http://crmebceshi.oss-cn-beijing.aliyuncs.com/home/%E5%9B%BE%E5%B1%82%206.png
                 * status : 1
                 */

                private int id;
                private String name;
                private String title;
                private String pic;
                @SerializedName("status")
                private int statusX;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public String getPic() {
                    return pic;
                }

                public void setPic(String pic) {
                    this.pic = pic;
                }

                public int getStatusX() {
                    return statusX;
                }

                public void setStatusX(int statusX) {
                    this.statusX = statusX;
                }
            }
        }

        public static class NewsBean {
            /**
             * id : 18
             * cid : 1
             * title : 职场心理学—不要“被标签”影响了自我
             * image : http://crmebceshi.oss-cn-beijing.aliyuncs.com/home/%E5%9B%BE%E5%B1%82%2011.png
             * synopsis : 这种现象是由于贴上标签后引起的 故称为“标签...
             * view : 0
             * sort : 0
             * status : 1
             * add_time : 2020-04-09 15:47:20
             * is_hot : 0
             * reply : 0
             * share_num : 0
             */

            private int id;
            private String cid;
            private String title;
            private String image;
            private String synopsis;
            private int view;
            private int sort;
            @SerializedName("status")
            private int statusX;
            private String add_time;
            private int is_hot;
            private int reply;
            private int share_num;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getCid() {
                return cid;
            }

            public void setCid(String cid) {
                this.cid = cid;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public String getSynopsis() {
                return synopsis;
            }

            public void setSynopsis(String synopsis) {
                this.synopsis = synopsis;
            }

            public int getView() {
                return view;
            }

            public void setView(int view) {
                this.view = view;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            public int getStatusX() {
                return statusX;
            }

            public void setStatusX(int statusX) {
                this.statusX = statusX;
            }

            public String getAdd_time() {
                return add_time;
            }

            public void setAdd_time(String add_time) {
                this.add_time = add_time;
            }

            public int getIs_hot() {
                return is_hot;
            }

            public void setIs_hot(int is_hot) {
                this.is_hot = is_hot;
            }

            public int getReply() {
                return reply;
            }

            public void setReply(int reply) {
                this.reply = reply;
            }

            public int getShare_num() {
                return share_num;
            }

            public void setShare_num(int share_num) {
                this.share_num = share_num;
            }
        }
    }
}
